Optimal. Leaf size=174 \[ -\frac{a+b \tanh ^{-1}\left (c x^3\right )}{4 x^4}-\frac{1}{16} b c^{4/3} \log \left (c^{2/3} x^2-\sqrt [3]{c} x+1\right )+\frac{1}{16} b c^{4/3} \log \left (c^{2/3} x^2+\sqrt [3]{c} x+1\right )+\frac{1}{8} \sqrt{3} b c^{4/3} \tan ^{-1}\left (\frac{1}{\sqrt{3}}-\frac{2 \sqrt [3]{c} x}{\sqrt{3}}\right )-\frac{1}{8} \sqrt{3} b c^{4/3} \tan ^{-1}\left (\frac{2 \sqrt [3]{c} x}{\sqrt{3}}+\frac{1}{\sqrt{3}}\right )+\frac{1}{4} b c^{4/3} \tanh ^{-1}\left (\sqrt [3]{c} x\right )-\frac{3 b c}{4 x} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.267174, antiderivative size = 174, normalized size of antiderivative = 1., number of steps used = 12, number of rules used = 8, integrand size = 14, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.571, Rules used = {6097, 325, 296, 634, 618, 204, 628, 206} \[ -\frac{a+b \tanh ^{-1}\left (c x^3\right )}{4 x^4}-\frac{1}{16} b c^{4/3} \log \left (c^{2/3} x^2-\sqrt [3]{c} x+1\right )+\frac{1}{16} b c^{4/3} \log \left (c^{2/3} x^2+\sqrt [3]{c} x+1\right )+\frac{1}{8} \sqrt{3} b c^{4/3} \tan ^{-1}\left (\frac{1}{\sqrt{3}}-\frac{2 \sqrt [3]{c} x}{\sqrt{3}}\right )-\frac{1}{8} \sqrt{3} b c^{4/3} \tan ^{-1}\left (\frac{2 \sqrt [3]{c} x}{\sqrt{3}}+\frac{1}{\sqrt{3}}\right )+\frac{1}{4} b c^{4/3} \tanh ^{-1}\left (\sqrt [3]{c} x\right )-\frac{3 b c}{4 x} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 6097
Rule 325
Rule 296
Rule 634
Rule 618
Rule 204
Rule 628
Rule 206
Rubi steps
\begin{align*} \int \frac{a+b \tanh ^{-1}\left (c x^3\right )}{x^5} \, dx &=-\frac{a+b \tanh ^{-1}\left (c x^3\right )}{4 x^4}+\frac{1}{4} (3 b c) \int \frac{1}{x^2 \left (1-c^2 x^6\right )} \, dx\\ &=-\frac{3 b c}{4 x}-\frac{a+b \tanh ^{-1}\left (c x^3\right )}{4 x^4}+\frac{1}{4} \left (3 b c^3\right ) \int \frac{x^4}{1-c^2 x^6} \, dx\\ &=-\frac{3 b c}{4 x}-\frac{a+b \tanh ^{-1}\left (c x^3\right )}{4 x^4}+\frac{1}{4} \left (b c^{5/3}\right ) \int \frac{1}{1-c^{2/3} x^2} \, dx+\frac{1}{4} \left (b c^{5/3}\right ) \int \frac{-\frac{1}{2}-\frac{\sqrt [3]{c} x}{2}}{1-\sqrt [3]{c} x+c^{2/3} x^2} \, dx+\frac{1}{4} \left (b c^{5/3}\right ) \int \frac{-\frac{1}{2}+\frac{\sqrt [3]{c} x}{2}}{1+\sqrt [3]{c} x+c^{2/3} x^2} \, dx\\ &=-\frac{3 b c}{4 x}+\frac{1}{4} b c^{4/3} \tanh ^{-1}\left (\sqrt [3]{c} x\right )-\frac{a+b \tanh ^{-1}\left (c x^3\right )}{4 x^4}-\frac{1}{16} \left (b c^{4/3}\right ) \int \frac{-\sqrt [3]{c}+2 c^{2/3} x}{1-\sqrt [3]{c} x+c^{2/3} x^2} \, dx+\frac{1}{16} \left (b c^{4/3}\right ) \int \frac{\sqrt [3]{c}+2 c^{2/3} x}{1+\sqrt [3]{c} x+c^{2/3} x^2} \, dx-\frac{1}{16} \left (3 b c^{5/3}\right ) \int \frac{1}{1-\sqrt [3]{c} x+c^{2/3} x^2} \, dx-\frac{1}{16} \left (3 b c^{5/3}\right ) \int \frac{1}{1+\sqrt [3]{c} x+c^{2/3} x^2} \, dx\\ &=-\frac{3 b c}{4 x}+\frac{1}{4} b c^{4/3} \tanh ^{-1}\left (\sqrt [3]{c} x\right )-\frac{a+b \tanh ^{-1}\left (c x^3\right )}{4 x^4}-\frac{1}{16} b c^{4/3} \log \left (1-\sqrt [3]{c} x+c^{2/3} x^2\right )+\frac{1}{16} b c^{4/3} \log \left (1+\sqrt [3]{c} x+c^{2/3} x^2\right )-\frac{1}{8} \left (3 b c^{4/3}\right ) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1-2 \sqrt [3]{c} x\right )+\frac{1}{8} \left (3 b c^{4/3}\right ) \operatorname{Subst}\left (\int \frac{1}{-3-x^2} \, dx,x,1+2 \sqrt [3]{c} x\right )\\ &=-\frac{3 b c}{4 x}+\frac{1}{8} \sqrt{3} b c^{4/3} \tan ^{-1}\left (\frac{1-2 \sqrt [3]{c} x}{\sqrt{3}}\right )-\frac{1}{8} \sqrt{3} b c^{4/3} \tan ^{-1}\left (\frac{1+2 \sqrt [3]{c} x}{\sqrt{3}}\right )+\frac{1}{4} b c^{4/3} \tanh ^{-1}\left (\sqrt [3]{c} x\right )-\frac{a+b \tanh ^{-1}\left (c x^3\right )}{4 x^4}-\frac{1}{16} b c^{4/3} \log \left (1-\sqrt [3]{c} x+c^{2/3} x^2\right )+\frac{1}{16} b c^{4/3} \log \left (1+\sqrt [3]{c} x+c^{2/3} x^2\right )\\ \end{align*}
Mathematica [A] time = 0.0516986, size = 196, normalized size = 1.13 \[ -\frac{a}{4 x^4}-\frac{1}{16} b c^{4/3} \log \left (c^{2/3} x^2-\sqrt [3]{c} x+1\right )+\frac{1}{16} b c^{4/3} \log \left (c^{2/3} x^2+\sqrt [3]{c} x+1\right )-\frac{1}{8} b c^{4/3} \log \left (1-\sqrt [3]{c} x\right )+\frac{1}{8} b c^{4/3} \log \left (\sqrt [3]{c} x+1\right )-\frac{1}{8} \sqrt{3} b c^{4/3} \tan ^{-1}\left (\frac{2 \sqrt [3]{c} x-1}{\sqrt{3}}\right )-\frac{1}{8} \sqrt{3} b c^{4/3} \tan ^{-1}\left (\frac{2 \sqrt [3]{c} x+1}{\sqrt{3}}\right )-\frac{b \tanh ^{-1}\left (c x^3\right )}{4 x^4}-\frac{3 b c}{4 x} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
Maple [A] time = 0.013, size = 172, normalized size = 1. \begin{align*} -{\frac{a}{4\,{x}^{4}}}-{\frac{b{\it Artanh} \left ( c{x}^{3} \right ) }{4\,{x}^{4}}}-{\frac{3\,bc}{4\,x}}-{\frac{bc}{8}\ln \left ( x-\sqrt [3]{{c}^{-1}} \right ){\frac{1}{\sqrt [3]{{c}^{-1}}}}}+{\frac{bc}{16}\ln \left ({x}^{2}+\sqrt [3]{{c}^{-1}}x+ \left ({c}^{-1} \right ) ^{{\frac{2}{3}}} \right ){\frac{1}{\sqrt [3]{{c}^{-1}}}}}-{\frac{bc\sqrt{3}}{8}\arctan \left ({\frac{\sqrt{3}}{3} \left ( 2\,{\frac{x}{\sqrt [3]{{c}^{-1}}}}+1 \right ) } \right ){\frac{1}{\sqrt [3]{{c}^{-1}}}}}+{\frac{bc}{8}\ln \left ( x+\sqrt [3]{{c}^{-1}} \right ){\frac{1}{\sqrt [3]{{c}^{-1}}}}}-{\frac{bc}{16}\ln \left ({x}^{2}-\sqrt [3]{{c}^{-1}}x+ \left ({c}^{-1} \right ) ^{{\frac{2}{3}}} \right ){\frac{1}{\sqrt [3]{{c}^{-1}}}}}-{\frac{bc\sqrt{3}}{8}\arctan \left ({\frac{\sqrt{3}}{3} \left ( 2\,{\frac{x}{\sqrt [3]{{c}^{-1}}}}-1 \right ) } \right ){\frac{1}{\sqrt [3]{{c}^{-1}}}}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Maxima [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: ValueError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Fricas [A] time = 1.67314, size = 547, normalized size = 3.14 \begin{align*} -\frac{2 \, \sqrt{3} b \left (-c\right )^{\frac{1}{3}} c x^{4} \arctan \left (\frac{2}{3} \, \sqrt{3} \left (-c\right )^{\frac{1}{3}} x - \frac{1}{3} \, \sqrt{3}\right ) + 2 \, \sqrt{3} b c^{\frac{4}{3}} x^{4} \arctan \left (\frac{2}{3} \, \sqrt{3} c^{\frac{1}{3}} x - \frac{1}{3} \, \sqrt{3}\right ) + b \left (-c\right )^{\frac{1}{3}} c x^{4} \log \left (c x^{2} + \left (-c\right )^{\frac{2}{3}} x - \left (-c\right )^{\frac{1}{3}}\right ) + b c^{\frac{4}{3}} x^{4} \log \left (c x^{2} - c^{\frac{2}{3}} x + c^{\frac{1}{3}}\right ) - 2 \, b \left (-c\right )^{\frac{1}{3}} c x^{4} \log \left (c x - \left (-c\right )^{\frac{2}{3}}\right ) - 2 \, b c^{\frac{4}{3}} x^{4} \log \left (c x + c^{\frac{2}{3}}\right ) + 12 \, b c x^{3} + 2 \, b \log \left (-\frac{c x^{3} + 1}{c x^{3} - 1}\right ) + 4 \, a}{16 \, x^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Sympy [F(-2)] time = 0., size = 0, normalized size = 0. \begin{align*} \text{Exception raised: KeyError} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
Giac [A] time = 2.08691, size = 261, normalized size = 1.5 \begin{align*} -\frac{1}{16} \, b c^{3}{\left (\frac{2 \, \sqrt{3}{\left | c \right |}^{\frac{1}{3}} \arctan \left (\frac{1}{3} \, \sqrt{3}{\left (2 \, x + \frac{1}{{\left | c \right |}^{\frac{1}{3}}}\right )}{\left | c \right |}^{\frac{1}{3}}\right )}{c^{2}} + \frac{2 \, \sqrt{3}{\left | c \right |}^{\frac{1}{3}} \arctan \left (\frac{1}{3} \, \sqrt{3}{\left (2 \, x - \frac{1}{{\left | c \right |}^{\frac{1}{3}}}\right )}{\left | c \right |}^{\frac{1}{3}}\right )}{c^{2}} - \frac{{\left | c \right |}^{\frac{1}{3}} \log \left (x^{2} + \frac{x}{{\left | c \right |}^{\frac{1}{3}}} + \frac{1}{{\left | c \right |}^{\frac{2}{3}}}\right )}{c^{2}} + \frac{{\left | c \right |}^{\frac{1}{3}} \log \left (x^{2} - \frac{x}{{\left | c \right |}^{\frac{1}{3}}} + \frac{1}{{\left | c \right |}^{\frac{2}{3}}}\right )}{c^{2}} - \frac{2 \,{\left | c \right |}^{\frac{1}{3}} \log \left ({\left | x + \frac{1}{{\left | c \right |}^{\frac{1}{3}}} \right |}\right )}{c^{2}} + \frac{2 \,{\left | c \right |}^{\frac{1}{3}} \log \left ({\left | x - \frac{1}{{\left | c \right |}^{\frac{1}{3}}} \right |}\right )}{c^{2}}\right )} - \frac{b \log \left (-\frac{c x^{3} + 1}{c x^{3} - 1}\right )}{8 \, x^{4}} - \frac{3 \, b c x^{3} + a}{4 \, x^{4}} \end{align*}
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]